package com.jt.yygh.hospital;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author jiang tao
 * @date 2022/2/10
 * @description:
 **/
@SpringBootApplication
@MapperScan("com.jt.yygh.hospital.mapper")
@ComponentScan({"com.jt.yygh.common.config", "com.jt.yygh.hospital"})
@EnableFeignClients("com.jt.yygh.service_client.dict")
public class ServiceHospitalApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospitalApplication.class, args);
    }
}
